package com.yidu.hbats.service.attachment;

import com.yidu.hbats.model.AtsAttachmentEmp;
import com.yidu.hbats.model.AtsSchemeAudit;


import java.util.List;

public interface AtsAttachmentEmpService {
    int deleteByPrimaryKey(Integer aeId);
    /**
     * 根据外键删除
     * @param schemeId
     * @return
     */
    int deleteBySchemeId(Integer schemeId);

    int insert(AtsAttachmentEmp record);

    int insertSelective(AtsAttachmentEmp record);

    AtsAttachmentEmp selectByPrimaryKey(Integer aeId);

    List<AtsAttachmentEmp> selectByAttachID(Integer aeId);

    int updateByPrimaryKeySelective(AtsAttachmentEmp record);

    int updateByPrimaryKey(AtsAttachmentEmp record);

    /**
     * 根据外键查询审核表内容
     * @param saId 附件表id
     * @return 审核信息
     */
    List<AtsSchemeAudit> selBySaid(Integer saId);
}
